using System;
using System.Runtime.Serialization;

namespace SharpObjects.EventBus
{
    [DataContract]
    [Serializable]
    public class EventBusDescirptor
    {
        public const string guid = "_{D4735A76-ABF4-4FF1-961A-B069230F76B6}";

        public EventBusDescirptor()
        {
            this.IsApplicationWide = true;
        }

        [DataMember]
        public bool IsApplicationWide { get; set; }
        [DataMember]
        public string AssemblyPath { get; set; }
        [DataMember]
        public string TypeName { get; set; }
        [DataMember]
        public object[] Arguments { get; set; }
    }
}